package cn.jbit.ams.user.pojo;


//订单信息类
public class Order {
	private int orderId;
	private String problem;
	private int state;
	
	private int mId;
	private Mainperson mainperson;
	
	private String createDate;
	private String completionDate;
	
	private int userId;
	private User user;
	
	private int productInfoId;
	private Productinfo productinfo;
	
	public Order() {
		super();
	}
	
	public Order(int orderId, String problem, int state, int mId, String createDate, String completionDate, int userId,
			int productInfoId) {
		super();
		this.orderId = orderId;
		this.problem = problem;
		this.state = state;
		this.mId = mId;
		this.createDate = createDate;
		this.completionDate = completionDate;
		this.userId = userId;
		this.productInfoId = productInfoId;
	}



	public Order(int orderId, String problem, int state, Mainperson mainperson, String createDate,
			String completionDate, User user, Productinfo productinfo) {
		super();
		this.orderId = orderId;
		this.problem = problem;
		this.state = state;
		this.mainperson = mainperson;
		this.createDate = createDate;
		this.completionDate = completionDate;
		this.user = user;
		this.productinfo = productinfo;
	}
	
	public int getOrderId() {
		return orderId;
	}
	public void setOrderId(int orderId) {
		this.orderId = orderId;
	}
	public String getProblem() {
		return problem;
	}
	public void setProblem(String problem) {
		this.problem = problem;
	}
	public int getState() {
		return state;
	}
	public void setState(int state) {
		this.state = state;
	}
	public Mainperson getMainperson() {
		return mainperson;
	}
	public void setMainperson(Mainperson mainperson) {
		this.mainperson = mainperson;
	}
	public String getCreateDate() {
		return createDate;
	}
	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}
	public String getCompletionDate() {
		return completionDate;
	}
	public void setCompletionDate(String completionDate) {
		this.completionDate = completionDate;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public Productinfo getProductinfo() {
		return productinfo;
	}
	public void setProductinfo(Productinfo productinfo) {
		this.productinfo = productinfo;
	}
	public int getmId() {
		return mId;
	}
	public void setmId(int mId) {
		this.mId = mId;
	}
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public int getProductInfoId() {
		return productInfoId;
	}
	public void setProductInfoId(int productInfoId) {
		this.productInfoId = productInfoId;
	}
	
	
	
}
